/**
 *
 */
package com.naiterui.ehp.bs.cms.modules.recommend.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 预签署文件明细表
 * @author Ldl
 * @since 1.0.0
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("recomm_prescription")
public class RecommPrescription {

    /** 文件类型-未签名 */
    public static final int TYPE_UNSIGN = 1;
    /** 文件类型-医师签名 */
    public static final int TYPE_DOCTOR_SIGN = 2;
    /** 文件类型-药师签名 */
    public static final int TYPE_PHARMACIST_SIGN = 3;
    /** 文件类型-调配药师签名 */
    public static final int TYPE_AL_PHARMACIST_SIGN = 4;

    private Long id;
    private Long recommendId;
    private String prescriptionPhotoName;
    private String prescriptionPhotoUrl;
    /** 文件类型(1:原始处方, 2:医师签名, 3:药师签名) */
    private Integer type;
    private Date createdAt;
    private Integer version;

}
